{extends file = "assets::smarty-templates::ListView"|ToPath}

{block name="title"}Recaladas{/block}

{block name="page-id"}recaladas-page{/block}

{block name="entityList"}
{foreach $recaladas as $recalada}
    <li>
        <a href= "{url call='Neptuno::AdministrarRecaladas::view' id=$recalada->getIdRecalada()}" title= "Ver detalles">
            <h2 class="nombre">{$recalada->getBuques()->getNombre()}</h2>
            <p>
                L&iacute;nea: [{$recalada->getBuques()->getLineas()->getAbreviatura()}] {$recalada->getBuques()->getLineas()->getNombre()}
            </p>
            <p>
                <span>UVI: </span>{$recalada->getUvi()}
            </p>
            <p>
                <span>NIV: </span>{$recalada->getNiv()}
            </p>
            <p>
                <strong>ETD: </strong>{$recalada->getEtd()|json_to_date:"d/m/Y H:i"}
            </p>
            <p>
                <strong>ETA: </strong>{$recalada->getEta()|json_to_date:"d/m/Y H:i"}
            </p>
        </a>
    </li>
{/foreach}
{/block}